home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Utilities / Remotes / Source / Help.m < prev    next >
Encoding:
Text File  |  1992-09-23  |  2.1 KB  |  72 lines

  1. /*---------------------------------------------------------------------------
  2. Help.m -- Copyright (c) 1991 Rex Pruess
  3.  
  4.    This program is free software; you can redistribute it and/or modify
  5.    it under the terms of the GNU General Public License as published by
  6.    the Free Software Foundation; either version 1, or (at your option)
  7.    any later version.
  8.  
  9.    This program is distributed in the hope that it will be useful,
  10.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  11.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12.    GNU General Public License for more details.
  13.  
  14.    You should have received a copy of the GNU General Public License
  15.    along with this program; if not, write to the Free Software
  16.    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA, or send
  17.    electronic mail to the the author.
  18.  
  19. This routine loads and displays the help panel.
  20.  
  21. Rex Pruess <rpruess@umaxc.weeg.uiowa.edu>
  22.  
  23. $Header: /rpruess/apps/Remotes3.0/RCS/Help.m,v 3.0 92/09/23 22:13:38 rpruess Exp $
  24. -----------------------------------------------------------------------------
  25. $Log:    Help.m,v $
  26. Revision 3.0  92/09/23  22:13:38  rpruess
  27. Checked in to RCS to get the revision number updated to 3.0.
  28.  
  29. Revision 2.1  92/09/23  21:29:53  rpruess
  30. Updated code for NeXT System Release 3.0.
  31.  
  32. Revision 2.0  91/01/22  15:33:31  rpruess
  33. Remotes-2.0 was upgraded for NeXT System Release 2.0 (standard or extended).
  34. Remotes-2.0 supports the NeXT supplied Terminal application and the Stuart
  35. shareware product.
  36.  
  37. Revision 1.1  90/04/10  14:25:30  rpruess
  38. Initial revision
  39.  
  40. -----------------------------------------------------------------------------*/
  41.  
  42. /* Help class header file */
  43. #import "Help.h"
  44.  
  45. /* Appkit header files */
  46. #import <appkit/Application.h>
  47. #import <appkit/Panel.h>
  48.  
  49. @implementation Help
  50.  
  51. - init
  52. {
  53.    self = [super init];
  54.    [NXApp loadNibSection:"Help.nib" owner:self withNames:NO];
  55.    [helpPanel setMiniwindowIcon:"app"];
  56.    return self;
  57. }
  58.  
  59. - showHelpPanel:sender
  60. {
  61.    [helpPanel makeKeyAndOrderFront:sender];
  62.    return self;
  63. }
  64.  
  65. - setHelpPanel:anObject
  66. {
  67.    helpPanel = anObject;
  68.    return self;
  69. }
  70.  
  71. @end
  72.